package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAspectJAutoProxy(exposeProxy = true)//添加注解，暴露代理对象
@SpringBootApplication
@EnableScheduling
public class ViewShopApplication {

    public static void main(String[] args) {
        SpringApplication.run(ViewShopApplication.class, args);
    }

}
